<?php
/* 
 * ********* CVS HEADER ********* 
 * 
 * $RCSfile: login.php,v $ 
 * $Date: 2005/08/29 15:33:31 $ 
 * $Revision: 1.3 $ 
 * 
 * ********* CVS HEADER ********* 
 */
require_once("module/TPLN/TPLN.php"); 
$TPLN = new TPLN; 
$TPLN->Open($op_basepath."tpl/login.html"); 
$TPLN->IncludeFile("header","environnement/{$session['environnement']}/header.php"); 
$TPLN->IncludeFile("footer","environnement/{$session['environnement']}/footer.php");
if($rportalparams->get_value("RPORTAL","email.actif")=="yes" &&
   $sessiondroit['lostlogin']!=''){
	$TPLN->Parse("lostlogin.login",$login);
} else{
	$TPLN->EraseBloc("lostlogin");	
}
if(array_key_exists('guestinscstep1',$sessiondroit)){
	$TPLN->Parse("inscription.tmp","");
}else{
	$TPLN->EraseBloc("inscription");	
}
if(!isset($next))$next='';
$TPLN->Parse("login",$login);
$TPLN->Parse("next",$next);
$TPLN->Write();
?>